<script setup lang='ts'>
import { useRouter } from 'vue-router';
defineOptions({
    name: 'NotFound'
})
const router = useRouter()

function back() {
    router.push({ path: '/' })
}
</script>

<template>
    <div class="container">
        <h1>页面找不到啦!</h1>
        <el-button type="primary" @click="back">返回</el-button>
    </div>
</template>

<style lang='scss' scoped>
.container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>
